#!/bin/bash

awk 'BEGIN{OFS="\t";}{if(NF<3||$3<$2){$3=$2+1}$2=int(($2+$3)/2);print $1,$2,$2+1,$4,$5,$6}' $1
